home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10797 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  677 b 

  1. Path: oxy.rust.net!usenet
  2. From: Neil <neil@aol2.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: DUMPING OUT A RAW TEXT FILE TO SCREEN
  5. Date: Sun, 10 Mar 1996 11:36:38 -0500
  6. Organization: None
  7. Message-ID: <31430516.5235@aol2.com>
  8. NNTP-Posting-Host: liv-27.rust.net
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0GoldB1 (Win95; I)
  13.  
  14. QUESTION
  15. --------
  16.  
  17. How can I take a raw text file (lets just call it NEIL.TXT)
  18. and dump it out to the screen?
  19.  
  20. WHAT I'VE TRIED SO FAR:
  21. -----------------------
  22. ifstream datafile('NEIL.TXT',ios::in);
  23. ...but that's as far as I can go...
  24.  
  25. Either post it here, or mailto:neil@aol2.com
  26.  
  27. Thanks!
  28.